﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Solution.Business.Entities;
using Solution.Data;

namespace Solution.Business.Component
{
    public class AdvertiseComponent
    {
        private static AdvertiseDAC db = new AdvertiseDAC();

        public static List<Advertise> Advertise_GetByTop(string Top, string Where, string Ord)
        {
            return db.Advertise_GetByTop(Top, Where, Ord);
        }

        public static void Advertise_Insert(Advertise advertise)
        {
            db.Advertise_Insert(advertise);
        }

        public static void Advertise_Update(Advertise advertise)
        {
            db.Advertise_Update(advertise);
        }
    }
}
